package com.szhn.aclservice.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class AclPermissionVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String pid;

    private String name;

    private Integer type;

    private String permissionValue;


    private String path;


    private String component;


    private String icon;


    private Integer status;


    private Boolean isDeleted;


    private Date gmtCreate;


    private Date gmtModified;

    @ApiModelProperty(value = "一级菜单值是1")
    private Integer level;

    @ApiModelProperty(value = "当级菜单下的内容")
    private List<AclPermissionVo> children;


}
